//package com.plian.system.wrapper.dg;
//
//import com.plian.system.dto.dg.EnterpriseSystemDTO;
//import com.plian.system.entity.dg.EnterpriseSystem;
//import com.plian.system.mybatis.support.BaseWrapper;
//import com.plian.system.vo.dg.EnterpriseSystemVO;
//import com.plian.system.wrapper.util.CacheWrapperUtil;
//import com.plian.system.wrapper.util.WrapperUtil;
//import org.mapstruct.Mapper;
//import org.mapstruct.Mapping;
//import org.mapstruct.Mappings;
//
//import static com.plian.system.wrapper.util.WrapperConstant.*;
//import static com.plian.system.wrapper.util.WrapperConstant.USER_ID_TO_NAME;
//
//@Mapper(componentModel = SPRING, uses = {CacheWrapperUtil.class, WrapperUtil.class})
//public interface EnterpriseSystemWrapper extends BaseWrapper<EnterpriseSystem, EnterpriseSystemDTO, EnterpriseSystemVO> {
//
//        @Override
//        @Mappings(value = {
//                @Mapping(source = "groupId", target = "groupName", qualifiedByName = ORG_ID_TO_NAME),
//                @Mapping(source = "createUser", target = "createUserName", qualifiedByName = USER_ID_TO_NAME),
//                @Mapping(source = "departmentCode", target = "departmentName", qualifiedByName = DICT_CODE_TO_NAME),
//                @Mapping(source = "systemTypeCode", target = "systemTypeName", qualifiedByName = DICT_CODE_TO_NAME),
//                @Mapping(source = "systemStatus", target = "systemStatusStr", qualifiedByName = SYSTEM_STATUS),
//
//
//        })
//        EnterpriseSystemVO entityToVO(EnterpriseSystem entity);
//    }
//
